package com.cq.hd.product.service;

import com.cq.hd.product.api.dto.GroupBuyActiveReleaseDto;
import com.cq.hd.product.api.vo.ActiveGroupBuyVo;
import com.cq.hd.product.po.TbActiveGroupBuyPo;

import java.util.List;

public interface TbActiveGroupBuyService {

    void saveGroupBuyActive(GroupBuyActiveReleaseDto groupBuyActiveReleaseDto);

    List<TbActiveGroupBuyPo> listByActiveIds(List<Long> activeIds);

    TbActiveGroupBuyPo getByActiveId(Long activeId);

    // 是否有开团权限
    Boolean hasCreateGroupPermission(Long activeId, Long userId);

}
